/* eslint-disable no-use-before-define */
import React, { useState } from 'react'
import ComAA from './ComAA'
export default function ComA () {
  console.log('ComA')
  const [counter, setCounter] = useState(0)
  return (
      <>
        <p onClick={() => setCounter(counter + 1)}>父组件</p>
        <ComAA/>
      </>
  )
}
